package com.hong.service.impl;

import org.springframework.stereotype.Service;

import org.springframework.beans.factory.annotation.Autowired;

import com.hong.dao.DemoUserMapper;
import com.hong.domain.DemoUser;
import com.hong.service.DemoUserService;
@Service
public class DemoUserServiceImpl implements DemoUserService{

    @Autowired
    private DemoUserMapper demoUserMapper;

    @Override
    public int insert(DemoUser record) {
        return demoUserMapper.insert(record);
    }

    @Override
    public int insertOrUpdate(DemoUser record) {
        return demoUserMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(DemoUser record) {
        return demoUserMapper.insertOrUpdateSelective(record);
    }

    @Override
    public int insertSelective(DemoUser record) {
        return demoUserMapper.insertSelective(record);
    }

}
